{% extends 'base.html.twig' %}
{% block body_bar %}
    <h5>{{ dry_translation('show') }}</h5>
    <div class="ibox-tools">
        <a class="btn btn-outline btn-info" href="{{ dry_path("choice_new") }}" data-route="choice_new">{{ dry_translation('new') }}</a>
        <a class="btn btn-outline btn-info" href="{{ dry_path("choice_edit", choice.id) }}" data-route="choice_edit">{{ dry_translation('edit') }}</a>
        <a class="btn btn-outline btn-info" href="{{ dry_path("choice_index") }}" data-route="choice_index">{{ dry_translation('list') }}</a>
    </div>
{% endblock %}
{% block body %}
    <table class="table">
        <tbody>
            <tr>
                <th style="border-top:none;">{{ dry_translation('Choice.id') }}</th>
                <td style="border-top:none;">{{ choice.id }}</td>
            </tr>
            <tr>
                <th>{{ dry_translation('Choice.dryParent') }}</th>
                <td>{{ choice.dryParent }}</td>
            </tr>
            <tr>
                <th>{{ dry_translation('Choice.dryName') }}</th>
                <td>{{ choice.dryName }}</td>
            </tr>
            <tr>
                <th>{{ dry_translation('Choice.dryKey') }}</th>
                <td>{{ choice.dryKey }}</td>
            </tr>
            <tr>
                <th>{{ dry_translation('Choice.dryValue') }}</th>
                <td>{{ choice.dryValue|nl2br }}</td>
            </tr>
            <tr>
                <th>{{ dry_translation('Choice.drySort') }}</th>
                <td>{{ choice.drySort }}</td>
            </tr>
            <tr>
                <th>{{ dry_translation('Choice.dryAddtime') }}</th>
                <td>{{ choice.dryAddtimeString }}</td>
            </tr>
            <tr>
                <th>{{ dry_translation('Choice.dryStatus') }}</th>
                <td>{{ dryStatusArray[choice.dryStatus] }}</td>
            </tr>
            <tr>
                <th>{{ dry_translation('Choice.dryNote') }}</th>
                <td>{{ choice.dryNote }}</td>
            </tr>
        </tbody>
    </table>
{% endblock %}
